package com.example.amarsoft.coolweatherwk.util;

import okhttp3.OkHttpClient;
import okhttp3.Request;

/**
 * Created by amarsoft on 2017/8/7.
 */

public class httpUtil {
    public static void sendOkHttpRequest( String address, okhttp3.Callback callback){
        OkHttpClient clicent = new OkHttpClient();
        Request request = new Request.Builder().url(address).build();
        clicent.newCall(request).enqueue(callback);
    }
}
